using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using webapp4U.BOL;

namespace webapp4U.UI
{
    public partial class WebMaster_Default : System.Web.UI.Page
    {
        int OrderID = -1;
        protected void Page_Load(object sender, EventArgs e)
        {
            OrderID = Globals.GetIntFromQueryString("OrderID");

            Orders obj = Orders.GetOrdersByID(OrderID);
            lblOrderDate.Text = obj.AddedDate.ToString();
            lblFullName.Text = obj.ShippingName;
            lblAddress.Text = obj.ShippingAddress;
            lblPhone.Text = obj.CustomerPhone;
            lblEmail.Text = obj.CustomerEmail;
            lblCity.Text = obj.ShippingCity;
            lblCountry.Text = obj.ShippingCountry;
            lblSubTotal.Text = Formatter.FormatMoney(obj.SubTotal) + " VND";
            lblShippingMethod.Text = obj.ShippingMethod;
        }

    }
}